//
//  HomeWebVc.m
//  QuickCure1
//
//  Created by Ashzenki on 03/11/2016.
//  Copyright © 2016 maoge. All rights reserved.
//

#import "HomeWebVc.h"

@interface HomeWebVc ()

@end

@implementation HomeWebVc

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title = @"公益活动";
    self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor whiteColor],
                                                                    NSFontAttributeName:[UIFont boldSystemFontOfSize:18]};
    
    UIWebView *webView = [[UIWebView alloc] init];
    
    [self.view addSubview:webView];
    
    [webView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.view);
    }];
    
    NSURL *url = [NSURL URLWithString:@"http://www.jianshu.com/p/c4dd858d816c"];
    [webView loadRequest:[NSURLRequest requestWithURL:url]];
}



@end
